package com.taiji.workOrder.mapper;

import java.util.Date;
import java.util.List;
import com.taiji.workOrder.domain.ServerMonitorData;

/**
 * 工单信息Mapper接口
 *
 * @author taiji
 * @date 2023-08-08
 */
public interface ServerMonitorDataMapper
{
    /**
     * 查询
     */
    public ServerMonitorData selectServerMonitorDataById(String id);

    /**
     * 查询
     */
    public List<ServerMonitorData> selectServerMonitorDataList(ServerMonitorData serverMonitorData);

    /**
     * 新增
     */
    public int insertServerMonitorData(ServerMonitorData serverMonitorData);

    /**
     * 修改q
     */
    public int updateServerMonitorData(ServerMonitorData serverMonitorData);

    /**
     * 删除
     */
    public int deleteServerMonitorDataById(String id);

    /**
     * 批量删除
     */
    public int deleteServerMonitorDataByIds(String[] ids);

    /**
     * 逻辑删除
     */
    int updateServerMonitorDataByProjectCode(ServerMonitorData serverMonitorData);

    /**
     * 查询监控数据
     */
    ServerMonitorData selectServerMonitorDataByServerAddress(String serverAddress);

    /**
     * 查询已过期三天的监控信息
     */
    List<String> selectExpiredServerMonitorData();

}